#include <stdio.h>
#include <math.h>
#include <conio.h>
main()
{
	int i_input, wait;
	float f_calculation,f_calculation1,f_temp;
	printf("Mt.Gox Trade Fees Calculator \n");
	printf("##################################\n\n");
	printf(" Fees Structure : \n");
	printf(" 0.6 percent for less than 100 BTC traded in 30 days\n");
	printf(" 0.55 percent for more than 100 BTC traded in 30 days\n\n");
	printf(" Enter the amount of BTC you are buying : ");
	scanf("%f",&f_temp);
	f_calculation = float(f_temp * 0.006);
	f_calculation1 = float(f_temp * 0.0055);
	printf(" Fees at 0.6 percent  = %2.8f \n",f_calculation);
	printf(" Fees at 0.55 percent = %2.8f \n\n",f_calculation1);
	printf("########## program pause ########## type anything and presse enter to exit");
	scanf("%d",&wait);
	getch();
}

